package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishOverViewVO;
import com.sky.vo.DishVO;

import java.util.List;

public interface DishService {
	PageResult pageQuery(DishPageQueryDTO dishPageQueryDTO);

	DishVO getById(Long id);

	void saveDishAndFlavors(DishDTO dishDTO);

	void updateDishAndFlavors(DishDTO dishDTO);

	void delete(List<Long> ids);

	void startOrStop(Integer status, Long id);

	List<DishVO> list(Dish dish);

}
